# Simple Functional Equation

Find the function f:RRf : \mathbb{R} \longrightarrow \mathbb{R} that for any x,yRx, y \in \mathbb{R} satifies the following equation:

f(x+y)=f(x)f(y)f(x + y) = f(x) - f(y)

# Substitution Method.

For x=0x = 0.

f(y)=f(0)f(y)    f(y)=12f(0)\begin{equation} f(y) = f(0) - f(y) \implies f(y) = \frac{1}{2}f(0) \end{equation}

For x=y=0x = y = 0

f(0)=f(0)f(0)    f(0)=0\begin{equation} f(0) = f(0) - f(0) \implies f(0) = 0 \end{equation}

Combining equations (1)(1) and (2)(2) we can see that f(y)=0f(y) = 0. This means that ff is a constant function equal to 00.

# Another Method

This method uses properties of addition.

For any two numbers x,yRx, y \in \mathbb{R}.

f(x+y)=f(y+x)f(x)f(y)=f(y)f(x)2f(x)=2f(y)f(x)=f(y)    f is constant    f(x+y)=f(x)f(y)=0\begin{align*} &f(x + y) = f(y + x) \\ &f(x) - f(y) = f(y) - f(x) \\ &2f(x) = 2f(y) \\ &f(x) = f(y) \\ &\implies f \text{ is constant} \\ &\implies f(x + y) = f(x) - f(y) = 0 \end{align*}

From that we see that for any number kRk \in \mathbb{R}, f(k)=0f(k) = 0.